package com.ziyueyuwen.xiniao.bean.question;

import com.ziyueyuwen.xiniao.enums.GradeEnum;
import com.ziyueyuwen.xiniao.enums.LessonModuleEnum;
import com.ziyueyuwen.xiniao.enums.QuestionTypeEnum;

import java.util.Date;
/**
 * @author wancheng
 */
public class ZyQuestionData {
    private Integer id;

    private QuestionTypeEnum type;

    private GradeEnum grade;

    private String title;

    private LessonModuleEnum lessonModule;

    private Integer difficultLevel;

    private String updateUserAccount;

    private Date createTime;

    private String questionData;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public QuestionTypeEnum getType() {
        return type;
    }

    public void setType(QuestionTypeEnum type) {
        this.type = type;
    }

    public void setLessonModule(LessonModuleEnum lessonModule) {
        this.lessonModule = lessonModule;
    }

    public GradeEnum getGrade() {
        return grade;
    }

    public void setGrade(GradeEnum grade) {
        this.grade = grade;
    }

    public Integer getDifficultLevel() {
        return difficultLevel;
    }

    public void setDifficultLevel(Integer difficultLevel) {
        this.difficultLevel = difficultLevel;
    }

    public String getUpdateUserAccount() {
        return updateUserAccount;
    }

    public void setUpdateUserAccount(String updateUserAccount) {
        this.updateUserAccount = updateUserAccount == null ? null : updateUserAccount.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getQuestionData() {
        return questionData;
    }

    public void setQuestionData(String questionData) {
        this.questionData = questionData == null ? null : questionData.trim();
    }

    public LessonModuleEnum getLessonModule() {
        return lessonModule;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}